<%@page import="java.util.regex.Pattern"%>
<%@page import="java.util.Date"%>
<%@page import="controller.Utils"%>
<%@page import="java.text.NumberFormat"%>
<%@page import="models.Domain"%>
<%
String strs = (String) request.getAttribute("strs");
String name = (String) request.getAttribute("name");
Domain domain = (Domain) request.getAttribute("domain");


String script = domain.getLinkAnalysis()!=null?domain.getLinkAnalysis().getValue():"";
String script1=domain.getIndexPage()!=null?domain.getIndexPage().getValue():"";
String script2=domain.getBackwardLink()!=null?domain.getBackwardLink().getValue():"";
String script3=domain.getHtmlValidation()!=null?domain.getHtmlValidation().getValue():"";

if(script==null||script!=null&&script.equals(""))
	script="<script type='text/javascript'> google.load('visualization', '1', {'packages':['columnchart']}); google.setOnLoadCallback(drawChart4); function drawChart4() { 	var data = new google.visualization.DataTable({  		               cols: [ {id: 'A0', label: 'linkdate', type: 'date'}, {id: 'A1', label: 'external', type: 'number'}, {id: 'A2', label: 'internal', type: 'number'} ], 		               rows: [  {c:[{v:new Date(2012, 1, 21)},{v:15},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 2, 8)},{v:16},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 2, 9)},{v:16},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 2, 20)},{v:16},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 3, 2)},{v:15},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 3, 17)},{v:15},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 4, 8)},{v:16},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 4, 12)},{v:15},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 5, 7)},{v:15},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 5, 23)},{v:15},{v:Math.random()*10}]}]  		           }, 0.5); 	var view = new google.visualization.DataView(data); 	var chart = new google.visualization.ColumnChart(document.getElementById('link_history')); 	chart.draw ( view, {is3D: true, legend: 'bottom', min: 0}); } </script>";
if(script1==null||script1!=null&&script1.equals(""))
	script1="<script type='text/javascript'> 	google.load('visualization', '1', { 		'packages' : [ 'linechart' ] 	}); 	google.setOnLoadCallback(drawChart4); 	function drawChart4() { 		var data = new google.visualization.DataTable({ 			cols : [ { 				id : 'A0', 				label : 'yahoodate', 				type : 'date' 			}, { 				id : 'A1', 				label : '"+domain.getDomain()+"', 				type : 'number' 			} ], 			rows : [ { 				c : [ { 					v : new Date(2012, 3, 11) 				}, { 					v : Math.random() * 10 				} ] 			}, { 				c : [ { 					v : new Date(2012, 4, 27) 				}, { 					v : Math.random() * 30 				} ] 			}, { 				c : [ { 					v : new Date(2012, 6, 27) 				}, { 					v : Math.random() * 20 				} ] 			} ] 		}, 0.5); 		var view = new google.visualization.DataView(data); 		var chart = new google.visualization.LineChart(document 				.getElementById('indexed')); 		chart.draw(view, { 			legend : 'none', 			min : 0 		}); 	} </script>";
if(script2==null||script2!=null&&script2.equals(""))
	script2="<script type='text/javascript'> 	google.setOnLoadCallback(drawChart5); 	function drawChart5() { 		var data = new google.visualization.DataTable({ 			cols : [ { 				id : 'A0', 				label : 'yahoodate', 				type : 'date' 			}, { 				id : 'A1', 				label : '"+domain.getDomain()+"', 				type : 'number' 			} ], 			rows : [ { 				c : [ { 					v : new Date(2012, 5, 11) 				}, { 					v : Math.random() * 100 				} ] 			}, { 				c : [ { 					v : new Date(2012, 6, 27) 				}, { 					v : Math.random() * 50 				} ] 			} ] 		}, 0.5); 		var view = new google.visualization.DataView(data); 		var chart = new google.visualization.LineChart(document 				.getElementById('backwards')); 		chart.draw(view, { 			legend : 'none', 			min : 0 		}); 	} </script>";
if(script3==null||script3!=null&&script3.equals(""))
	script3="<script type='text/javascript'> google.setOnLoadCallback(drawChart6); function drawChart6() { 	var data = new google.visualization.DataTable({  		               cols: [ {id: 'A0', label: 'w3date', type: 'date'}, {id: 'A1', label: 'error', type: 'number'}, {id: 'A2', label: 'warnings', type: 'number'} ], 		               rows: [ {c:[{v:new Date(2012, 5, 11)},{v:1},{v:Math.random()*10}]}, {c:[{v:new Date(2012, 6, 9)},{v:3},{v:Math.random()*40}]}, {c:[{v:new Date(2012, 6, 18)},{v:1},{v:Math.random()*30}]}]  		           }, 0.5); 	var view = new google.visualization.DataView(data); 	var chart = new google.visualization.LineChart(document.getElementById('w3_validator')); 	chart.draw ( view, {legend: 'bottom'}); } </script>";	
Date date = new Date();
Date dates = new Date();
if(domain.getDate() != null)
{
	dates = domain.getDate();
}
long seconds = (date.getTime() - dates.getTime())/1000;
long day = (int) (seconds / 86400);
long hour = (int) ((seconds - day*86400) / 3600);
long minute = (int) ((seconds - day*86400 - hour*3600) / 60);


NumberFormat nf = NumberFormat.getInstance();
String title = domain.getDomain();
String description = domain.getDomain();
String keyword = domain.getDomain();
if(domain.getTitle()!=null)
{
	title +=" - "+domain.getTitle(); 	
}
if(domain.getDescription()!=null)
{
	description +=" - "+domain.getDescription().getValue(); 	
}
if(domain.getKeywords()!=null)
{
	keyword +=","+domain.getKeywords().getValue(); 	
}
if(description.length()<70&&domain.getDes()!=null)
{
	description+=domain.getDes().getValue();
}
if(description.length()<40)
	description+=",here you can find full information about "+domain.getDomain()+" as whois,ip,backlink";
if(description.length()>250)
	description=description.substring(0,240);
if(keyword.length()>250)
	keyword=keyword.substring(0,240);
%>
<%
	request.setCharacterEncoding("utf-8");
%>
<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keyword %>"/>
	<jsp:param name="domain" value="<%=domain.getDomain() %>"/>
</jsp:include>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>         

<div class="bd">
		<script type="text/javascript" src="http://www.google.com/jsapi"></script>
		<div class="l">
			<div class="rib">
				<h1><img src="https://s2.googleusercontent.com/s2/favicons?domain_url=http://<%=domain.getDomain() %>" alt="favicon <%=domain.getDomain() %>"> <%=domain.getDomain() %></h1>
			</div>
			<div class="cont">
				<p class="des">
					<a class="ti" href="/sites/<%=domain.getDomain() %>"><%=domain.getTitle() %></a> 
					<%=domain.getDescription()!=null?domain.getDescription().getValue():"" %>
				</p>
				
				<p><br/>
				<jsp:include page="adv/adv1.jsp"></jsp:include> 
				</p>
				
				<p class="blue">
					Updated
						<%
						if(day > 0)
											{
												out.print("<strong>"+day+" days</strong>, ");
											}
											if(hour > 0)
											{
												out.print("<strong>"+hour+" hours</strong>, ");
											}
											out.print(minute+" minutes");
					%>
						Ago
						
					<%
					if(day>=2 || domain.getDate() == null)
					{
					%>
								<strong class="size"> ( <a href="javascript:void(0)" rel="nofollow" id="update">Update</a> ) </strong>
					<%
					}
					%>
				</p>
				<div class="ale">
					Has Alexa Rank of # <strong><%=nf.format(domain.getAlexa()) %></strong> and Google Page Rank of # <strong><%=domain.getGooglepr() %></strong>. 
				</div>
			</div>
			<div class="rib ribt">
				<h2>Look up information</h2>
			</div>
			<div class="cont">
				<div class='l'>
					<jsp:include page="adv/adv2.jsp"></jsp:include>
				</div>
				<div class="r">
					<a rel="nofollow" href="http://reviews.showsiteinfo.us/submit-article?domain=<%=domain.getDomain() %>" class="wri" target="_blank">Write a review</a>

					<ul class="item">
						<li class='one'><a rel="nofollow" href="http://www.checksitesafe.com/site/<%=domain.getDomain() %>" target="_blank">Check site safe</a></li>
						<li><a rel="nofollow" href="/pagerank?url=<%=domain.getDomain() %>">Check pagerank</a></li>
						<li><a rel="nofollow" href="/network-tool?url=<%=domain.getDomain() %>&type=dnsrec">DNS Records</a></li>
						<li><a rel="nofollow" href="/network-tool?url=<%=domain.getDomain() %>&type=ping">Ping</a></li>
						<li><a rel="nofollow" href="/network-tool?url=<%=domain.getDomain() %>&type=lookup">Lookup</a></li>
						<li><a rel="nofollow" href="/network-tool?url=<%=domain.getDomain() %>&type=trace">Trace</a></li>
						<li><a rel="nofollow" href="/network-tool?url=<%=domain.getDomain() %>&type=httphead">HTTP Headers</a></li>
						<%
						if(domain.getIp()!=null&&Pattern.matches("^[0-9]{1,3}[.]{1}[0-9]{1,3}[.]{1}[0-9]{1,3}[.]{1}[0-9]{1,3}$", domain.getIp()))
						{
						%>
						<li><a href="/ip/<%=domain.getIp()%>">Domain same ip <%=domain.getIp()%></a></li>
						<li><a rel="nofollow" href="/lookup-ip?ip=<%=domain.getIp()%>">Lookup ip <%=domain.getIp()%></a></li>
						<%
						}
						%>
					</ul>
				</div>
				<div class="cl"></div>
			</div>
			<div class="rib mg">
				<h2>Alexa stats ( Rank: #<%=nf.format(domain.getAlexa()) %> )</h2>
			</div>
			<div class="cont">
				<ul class="b-menu-01">
					<li id="gr_traffic" class="current"><a href="#"
						onclick="viewGraphTab('traffic'); return false;"> <span><b>Traffic
									Rank</b> </span> </a>
					</li>
					<li class="" id="gr_reach"><a href="#"
						onclick="viewGraphTab('reach'); return false;"><b>Reach</b> </a>
					</li>
					<li class="" id="gr_page"><a href="#"
						onclick="viewGraphTab('page'); return false;"><b>Pageviews</b> </a>
					</li>
					<li class="" id="gr_page_user"><a href="#"
						onclick="viewGraphTab('page_user'); return false;"><b>Pageviews/User</b>
					</a>
					</li>
					<li class="" id="gr_bounce"><a href="#"
						onclick="viewGraphTab('bounce'); return false;"><b>Bounce %</b> </a>
					</li>
					<li class="" id="gr_time"><a href="#"
						onclick="viewGraphTab('time'); return false;"><b>Time on Site</b>
					</a>
					</li>
					<li class="" id="gr_search"><a href="#"
						onclick="viewGraphTab('search'); return false;"><b>Search %</b> </a>
					</li>
				</ul>
				<form class="f-alexa">
					<div class="f-alexa-left">
						<select class="inp-select" id="selectPeriod">
							<option value="7d">Trailing 7 days</option>
							<option value="1m">Trailing 1 month</option>
							<option value="3m" selected="selected">Trailing 3 months</option>
							<option value="6m">Trailing 6 months</option>
							<option value="2y">Max</option>
						</select>
						<h4>Compare this site to:</h4>
						<input type="text" class="inp-text compare-to"> <input type="text"
							class="inp-text compare-to"> <input type="text"
								class="inp-text compare-to"> <input type="text"
									class="inp-text compare-to"> <input type="button"
										class="inp-submit-01" value="Compare"
										onclick="compareTo(); return false;">
					
					</div>
					<div class="f-alexa-right">
						<img src="http://traffic.alexa.com/graph?&amp;w=400&amp;h=220&amp;o=f&amp;c=1&amp;y=t&amp;b=ffffff&amp;n=666666&amp;r=3m&amp;u=<%=domain.getDomain() %>"
							id="alexaGraphic" alt="traffic alexa for <%=domain.getDomain() %>"/>
					
					</div>
				</form>
			</div>
			<div class="rib ribt">
				<h2>Visitors by Country for: <i><%=domain.getDomain() %></i></h2>
			</div>
			<div class="cont cent">
				
				<object class='left' width="50%" height="250px" type="application/x-shockwave-flash" wmode="transparent" 
                	settings_file="http://www.alexa.com/amMap/ammap_settings.xml" 
                	data_file="http://www.alexa.com/amMap/index.php?settings=csstips.org;country_traffic" 
                	path="http://www.alexa.com/amMap/ammap/" bgcolor="#E9F0FF" class="feedback-subject" name="ammap_c8de625c0bde43c1c5036fb36091bc6b" 
                	data="http://www.alexa.com/amMap/ammap.swf" id="ammap_c8de625c0bde43c1c5036fb36091bc6b" style="visibility: visible;">
					<param name="wmode" value="transparent">
					<param name="settings_file" value="http://www.alexa.com/amMap/ammap_settings.xml">
					<param name="data_file" value="http://www.alexa.com/amMap/index.php?settings=yooarticles.com;country_traffic">
					<param name="path" value="http://www.alexa.com/amMap/ammap/">
					<param name="flashvars" value="wmode=transparent&amp;settings_file=http://www.alexa.com/amMap/ammap_settings.xml&amp;data_file=http://www.alexa.com/amMap/index.php?settings=<%=domain.getDomain() %>;country_traffic&amp;path=http://www.alexa.com/amMap/ammap/">
				</object>
				
			</div>
			<div class="rib mg">
				<h2>Statistics</h2>
			</div>
			<div class="cont">
				<div class="l">
					<h4>Homepage Links Analysis</h4>
					<div id="link_history" style="width: 300px; height: 200px"></div>
					<%=script %>
					
					<h4>Indexed Pages</h4>
					<div id="indexed" style="width: 300px; height: 200px;"></div>
					<%=script1 %>
				</div>
				<div class="r">
					<h4 class="left">Backward Links</h4>
					<div id="backwards" style="width: 300px; height: 200px;"></div>
					<%=script2 %>
					
					<h4 class="right">HTML validation</h4>
					<div id="w3_validator" style="width: 300px; height: 200px;"></div>
					<%=script3 %>
				</div>
				<div class="cl"></div>
			</div>
			
			<div class="rib ribt">
				<h2>About site</h2>
			</div>
			<div class="cont">
				<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
					<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
						<li class="ui-state-default ui-corner-top  ui-tabs-selected ui-state-active"><a href="#tabs-1">Site info</a></li>
						<li class="ui-state-default ui-corner-top"><a href="#tabs-2">Site Technical Info</a></li>
						<li class="ui-state-default ui-corner-top"><a href="#tabs-3">Site Contact Info</a></li>
						<li class="ui-state-default ui-corner-top"><a href="#tabs-4">Whois</a></li>
					</ul>
					<div id="tabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
						<table>
							<tr>
								<td width="120">Subdomain</td>
								<td><p><%=domain.getDomain()%> <%=Utils.returnSubDomain(domain.getDomain()) %></p></td>
							</tr>
							<%
							if(domain.getKeywords()!=null&&!domain.getKeywords().getValue().equals(""))
							{
							%>
							<tr>
								<td width="120">Keywords</td>
								<td><p><%=domain.getKeywords().getValue() %></p></td>
							</tr>
							<%
							}
							if(domain.getPopularKeyword()!=null&&!domain.getPopularKeyword().getValue().equals(""))
							{
							%>
							<tr>
								<td width="120">Popular Keywords</td>
								<td><p><%=domain.getPopularKeyword().getValue() %></p></td>
							</tr>
							<%
							}
							if(domain.getAge()!=null&&!domain.getAge().equals(""))
							{
							%>
							<tr>
								<td width="120">Domain Age</td>
								<td><%=domain.getAge() %></td>
							</tr>
							<%
							}
							if(domain.getCategory()!=null&&!domain.getCategory().getValue().equals(""))
							{
							%>
							<tr>
								<td width="120">Site category</td>
								<td>
									<%
										String[] ar = domain.getCategory().getValue().split(",");
										for(int i=0;i<ar.length;i++)
										{
											if(ar[i].trim().length()>0)
											{
									%>
												<a href="/category/<%=ar[i].trim()%>"><%=ar[i].trim()%></a>, 
									<%
											}
										}
									%>
								</td>
							</tr>
							<%
							}
							if(domain.getGoogleAnalytic()!=null&&!domain.getGoogleAnalytic().equals(""))
							{
							%>
							<tr>
								<td width="120">Google Analytic</td>
								<td><a href="/analytic/<%=domain.getGoogleAnalytic() %>"><%=domain.getGoogleAnalytic() %></a></td>
							</tr>
							<%
							}
							if(domain.getGoogleAdsense()!=null&&!domain.getGoogleAdsense().equals(""))
							{
							%>
							<tr>
								<td width="120">Google Adsense</td>
								<td><a href="/adsense/<%=domain.getGoogleAdsense() %>"><%=domain.getGoogleAdsense() %></a></td>
							</tr>
							<%
							}
							%>
						</table>
					</div>
					<div id="tabs-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
						<table>
							<tr>
								<td width="150">Page Speed</td>
								<td id='page_speed'><a onclick="runPagespeed()" href="javascript:void(0)">Check now</a></td>
							</tr>
							<%
							if(domain.getLanguage()!=null&&!domain.getLanguage().equals(""))
							{
							%>
							<tr>
								<td width="120">Programming Language</td>
								<td><%=domain.getLanguage() %></td>
							</tr>
							<%
							}
							if(domain.getServer()!=null&&!domain.getServer().equals(""))
							{
							%>
							<tr>
								<td width="120">Web server</td>
								<td><%=domain.getServer() %></td>
							</tr>
							<%
							}
							if(domain.getJavascript()!=null&&!domain.getJavascript().equals(""))
							{
							%>
							<tr>
								<td width="120">Javascript library</td>
								<td><%=domain.getJavascript() %></td>
							</tr>
							<%
							}
							if(domain.getIp()!=null&&!domain.getIp().equals(""))
							{
								if(domain.getIp()!=null&&Pattern.matches("^[0-9]{1,3}[.]{1}[0-9]{1,3}[.]{1}[0-9]{1,3}[.]{1}[0-9]{1,3}$", domain.getIp()))
								{
								
							%>
							<tr>
								<td width="120">IP Address</td>
								<td><%="<a href='/ip/"+domain.getIp()+"'>"+domain.getIp()+"</a>" %></td>
							</tr>
							<%
								}
							}
							%>
						</table>
					</div>
					<div id="tabs-3" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						<table>
							<%
							if(domain.getEmail()!=null&&!domain.getEmail().equals(""))
							{
							%>
							<tr>
								<td width="190">Email</td>
								<td><%=domain.getEmail() %></td>
							</tr>
							<%
							}
							%>
						</table>
					</div>
					<div id="tabs-4" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
						<%=(domain.getWhois()!=null)?Utils.returnWhois(domain.getWhois().getValue(),domain.getDomain()):"" %><br/>
						<a href="/whois/<%=domain.getDomain()%>">whois <%=domain.getDomain()%></a>
					</div>
				</div>
			</div>
			<div class="rib mg">
				<h2>Cross link</h2>
			</div>
			<div class="cont">
				<div id="tabs2" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
					<%
						String[] arr=null;
						if(domain.getOutLink()!=null&&!domain.getOutLink().getValue().trim().equals(""))
						{
							arr = domain.getOutLink().getValue().split(",");
						}
					%>
					<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
						<li class="ui-state-default ui-corner-top  ui-tabs-selected ui-state-active"><a href="#tabs2-1">Outbound links ( <%=arr!=null?arr.length:"0" %> )</a></li>
						<li class="ui-state-default ui-corner-top"><a href="#tabs2-2" id="inlink">Inbound links</a></li>
					</ul>
					<div id="tabs2-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
						<table width="100%">
							<%
							if(arr!=null)
							{
								for(int j=0;j<arr.length;j++)
								{
									if(j==0){
										out.print("<tr>");
									}
									if(j!=0&&j%3==0){
										out.print("</tr>");
										out.print("<tr>");
									}
								%>
									<td><% if(!Utils.fomatDomain(arr[j]).trim().equals("")){ %><a href="/sites/<%=Utils.fomatDomain(arr[j]) %>" ><%=Utils.fomatDomain(arr[j]) %></a><% } %></td>
								<%
									if(j==arr.length-1){
										out.print("</tr>");
									}
									if(j==8)
										break;
								}
							}
							%>
							<tr><td>&nbsp;</td></tr>
							<tr>
								<td>View all Out link <a href="/out-link/<%=domain.getDomain()%>"> <%=domain.getDomain()%></a></td>
							</tr>
						</table>
					</div>
					<div id="tabs2-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
						<a href="/in-link/<%=domain.getDomain()%>">View all Inbound links</a>
					</div>
				</div>
			</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
			
			<div class="bol">
				<div class="rib ribt">
					<h2>Backlinks Info <a href="javascript:void(0)" id="backlink"><img src="/images/refresh-icon.png" alt='refresh'/></a></h2>
				</div>
                <div id='backlink_info' class="inf">
                  	<ul>
						<li><img alt="backlink google <%=domain.getDomain() %>" border="0" align="absmiddle" src="/images/gicon.png"> Google<span class="sr"><a target="_blank" rel="nofollow" href="http://www.google.com/search?q=link:<%=domain.getDomain()%>">view</a></span></li>										
		
						<li><img alt="backlink yahoo <%=domain.getDomain() %>" border="0" align="absmiddle" src="/images/yicon.png"> Yahoo  <span class="sr"><a target="_blank" rel="nofollow" href="http://siteexplorer.search.yahoo.com/search?p=<%=domain.getDomain()%>&amp;bwm=i&amp;bwmf=a&amp;bwms=p">view</a></span></li>										
						
						<li><img alt="backlink alexa <%=domain.getDomain() %>" border="0" align="absmiddle" src="/images/aicon.png"> Alexa <span class="sr"><a target="_blank" rel="nofollow" href="http://www.alexa.com/siteinfo/<%=domain.getDomain()%>">view</a></span></li>										
						
						<li><img alt="backlink bing <%=domain.getDomain() %>" border="0" align="absmiddle" src="/images/bing.png"> Bing <span class="sr"><a target="_blank" rel="nofollow" href="http://www.bing.com/search?q=inbody:<%=domain.getDomain()%>">view</a></span></li>										
						
						<li><img alt="backlink aol <%=domain.getDomain() %>" border="0" align="absmiddle" src="/images/aol.png"> Aol <span class="sr"><a target="_blank" rel="nofollow" href="http://search.aol.com/aol/search?q=link:<%=domain.getDomain()%>">view</a></span></li>																													
					</ul>
				</div>
			</div>
			
			<div class="bol">
				<div class="rib ribt">
					<h2>Indexed Pages <a href="javascript:void(0)" id="index"><img src="/images/refresh-icon.png" alt='refresh'/></a></h2>
				</div>
                <div id="index-page" class="inf">
                	<ul>
	 					<li><img border="0" align="absmiddle" alt="indexed page google <%=domain.getDomain() %>" src="/images/gicon.png"> Google <span class="sr"><a target="_blank" rel="nofollow" href="http://www.google.com/search?q=site:<%=domain.getDomain()%>">view</a></span></li>
						<li><img border="0" align="absmiddle" alt="indexed page yahoo <%=domain.getDomain() %>" src="/images/yicon.png"> Yahoo <span class="sr"><a target="_blank" rel="nofollow" href="http://siteexplorer.search.yahoo.com/advsearch?p=http://<%=domain.getDomain()%>">view</a></span></li>												
						<li><img border="0" align="absmiddle" alt="indexed page bing <%=domain.getDomain() %>" src="/images/bing.png"> Bing <span class="sr"><a target="_blank" rel="nofollow" href="http://www.bing.com/search?q=site:<%=domain.getDomain()%>">view</a></span></li>												
						<li><img border="0" align="absmiddle" alt="indexed page search.com <%=domain.getDomain() %>" src="/images/search.gif"> Search.com <span class="sr"><a target="_blank" rel="nofollow" href="http://www.search.com/search?q=site:<%=domain.getDomain()%>">view</a></span></li>										
						<li><img border="0" align="absmiddle" alt="indexed page aol <%=domain.getDomain() %>" src="/images/aol.png"> Aol <span class="sr"><a target="_blank" rel="nofollow" href="http://search.aol.com/aol/search?q=site:<%=domain.getDomain()%>">view</a></span></li>									
					</ul>
				</div>
			</div>
			
			<div class="bol">
				<div class="rib">
					<h2>Other domain</h2>
				</div>
				<ul class="bolr">
					<%
						String[] oth = domain.getOtherDomain().split(",");
						for(int i=0;i<oth.length;i++)
						{
					%>
						<li><a href="/sites/<%=oth[i]%>"><%=oth[i]%></a></li>
					<%
						}
					%>
				</ul>
			</div>
		</div>
		
		<div id='opacity'></div>
		<img src="/images/ajax.gif" id='image_loadder'/>	            
		<script type="text/javascript" src="/js/jquery.js"></script>              
		<script type="text/javascript" src="/js/jquery-ui-1.8.21.custom.min.js"></script>    
		      
		<script>
		graphDomain='<%=domain.getDomain() %>';
		$('#tabs').tabs();
		$('#tabs2').tabs();
		$('#tabs3').tabs();
		</script>  
		          
		<link href="/css/jquery-ui-1.8.21.custom.css" rel="stylesheet" type="text/css">
		<style>
		.ui-widget-content a{
		color: #0075AB;
		}
		</style>       
		<script type="text/javascript" src="/js/detail.js"></script>
		
	</div>

 <jsp:include page="layout/footer.jsp"></jsp:include>           